const mongoose = require('mongoose')

mongoose.connect(
    'mongodb://42.192.15.126:27017/zhenguan', //数据库集合地址'mongodb://127.0.0.1:27017/demo'
    { useNewUrlParser: true, useUnifiedTopology: true }//固定配置
)
module.exports = mongoose